package cn.gson.springboot.model.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import cn.gson.springboot.model.pojos.ClinicCard;

public interface ClinicCardDAO extends CrudRepository<ClinicCard, Integer>{

	//根据医疗卡id查询
	@Query("SELECT c FROM ClinicCard c where cliniccardId=?1")
	public ClinicCard findByhospcradid(String cradid);

}
